package net.kevin.db.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import net.kevin.db.model.Foreignkey;

public class ForeignkeyMapper implements RowMapper<Foreignkey> {
	@Override
	public Foreignkey mapRow(ResultSet rs, int rowNum) throws SQLException {
		Foreignkey foreignkey = new Foreignkey();
		MapperTool.mapper(rs, foreignkey);
		return foreignkey;
	}
}
